export const request = {
  requestInterceptors: [
    // 直接写一个 function，作为拦截器
    (url, options) => {
      console.log('[Request Interceptor] URL:', url, options);
      options.url = 'https://9ue2fjla.lc-cn-n1-shared.com/1.1' + url;
      options.headers = {
        'X-LC-Id': '9uE2FjlauXEMyqfbXTxt5Bz3-gzGzoHsz',
        'X-LC-Key': 'OTjcIFqywU5WD4vl1XXeZKEh',
        'Content-Type': 'application/json',
      };
      return options;
    },
  ],
  responseInterceptors: [
    // 直接写一个 function，作为拦截器
    (response) => {
      return response;
    },
  ],
};
